import React from 'react';
import Preview from './Preview';


class PreviewList extends React.Component {
	render() {
		let articleList = this.props.articleList;
		console.log(articleList)

		return (
			<div>
				{
					articleList.map(item => {
						return <Preview {...item} key={item.id} />
					})
				}
			</div>
		)
	}
}

export default PreviewList;